/*三整数排序（2）*/

#include <stdio.h>

int main(void){
	int a, b, c;

	scanf("%d%d%d", &a, &b, &c);

	if (a <= b && b <= c){
		printf("%d %d %d\n", a, b, c);
	}
	else if (a <= c && c <= b){
		printf("%d %d %d\n", a, c, b);
	}
	else if (b <= a && a <= c){
		printf("%d %d %d\n", b, a, c);
	}
	else if (b <= c && c <= a){
		printf("%d %d %d\n", b, c, a);
	}
	else if (c <= a && a <= b){
		printf("%d %d %d\n", c, a, b);
	}
	else if (c <= b && b <= a){
		printf("%d %d %d\n", c, b, a);
	}

	return 0;
}